package com.irdstudio.efp.esb.api.bean.wsd.credit.resp;

import com.alibaba.fastjson.annotation.JSONField;
import com.irdstudio.efp.esb.api.common.GroupeInterface.wsd;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class NlsWsdFirstRespBean implements Serializable{

    // 请求幂等ID
    @NotNull(groups= {wsd.class})
    @NotEmpty(groups= {wsd.class})
    @Length(max = 256,groups= {wsd.class})
    private String  RqsIdmptntID;
    @JSONField(name = "RqsIdmptntID")
    public String  getRqsIdmptntID() { return RqsIdmptntID; }
    @JSONField(name = "RqsIdmptntID")
    public void setRqsIdmptntID( String RqsIdmptntID) { this.RqsIdmptntID = RqsIdmptntID; }
    // 适配授信申请编号
    @NotNull(groups= {wsd.class})
    @NotEmpty(groups= {wsd.class})
    @Length(max = 64,groups= {wsd.class})
    private String  AdptCrdtAplNo;
    @JSONField(name = "AdptCrdtAplNo")
    public String  getAdptCrdtAplNo() { return AdptCrdtAplNo; }
    @JSONField(name = "AdptCrdtAplNo")
    public void setAdptCrdtAplNo( String AdptCrdtAplNo) { this.AdptCrdtAplNo = AdptCrdtAplNo; }
    // 返回代码
    @NotNull(groups= {wsd.class})
    @NotEmpty(groups= {wsd.class})
    @Length(max = 32,groups= {wsd.class})
    private String  RetCd;
    @JSONField(name = "RetCd")
    public String  getRetCd() { return RetCd; }
    @JSONField(name = "RetCd")
    public void setRetCd( String RetCd) { this.RetCd = RetCd; }
    // 返回信息
    @NotNull(groups= {wsd.class})
    @NotEmpty(groups= {wsd.class})
    @Length(max = 512,groups= {wsd.class})
    private String  RetMsg;
    @JSONField(name = "RetMsg")
    public String  getRetMsg() { return RetMsg; }
    @JSONField(name = "RetMsg")
    public void setRetMsg( String RetMsg) { this.RetMsg = RetMsg; }
    // 重试标志
    @NotNull(groups= {wsd.class})
    @NotEmpty(groups= {wsd.class})
    @Length(max = 512,groups= {wsd.class})
    private String  RtryFlg;
    @JSONField(name = "RtryFlg")
    public String  getRtryFlg() { return RtryFlg; }
    @JSONField(name = "RtryFlg")
    public void setRtryFlg( String RtryFlg) { this.RtryFlg = RtryFlg; }
}